local plr = owner char = plr.Character root = char.HumanoidRootPart warn[[ Made by Vulnerali Commands : nuke/on -- enables nuke nuke/off -- disables- nuke force/on -- disable speed depending on lenghts force/off -- enables speed depending on length instant/on -- enables instant click explosion instant/off -- disabled instant click explosion ]] local Remote = Instance.new("RemoteEvent",script) Remote.Name = "MainRemote" function CreateBindableEvent(nam) local Bind = Instance.new("BindableEvent",Remote) Bind.Name = nam return Bind end local Mouse = {Hit = CFrame.new(0,0,0),Target = nil,KeyDown = CreateBindableEvent("KeyDown").Event,KeyUp = CreateBindableEvent("KeyUp").Event,Button1Down = CreateBindableEvent("Button1Down").Event,Button1Up = CreateBindableEvent("Button1Up").Event} local InputService = {InputBegan = CreateBindableEvent("InputBegan"),InputEnded = CreateBindableEvent("InputEnded")} Remote.OnServerEvent:Connect(function(Plr,Reason,Val,Val2) if Reason == "Event" then local Event = Remote:FindFirstChild(Val) if Event then Event:Fire(Val2) end elseif Reason == "MouseInfo" then Mouse.Hit = Val.Hit Mouse.Target = Val.Target or nil end end) NLS([[ local Mouse = owner:GetMouse() local Input = game:GetService("UserInputService") local Remote = script.Parent:WaitForChild("MainRemote") Input.InputBegan:Connect(function(...) Remote:FireServer("Event","InputBegan",...) end) Input.InputEnded:Connect(function(...) Remote:FireServer("Event","InputEnded",...) end) Mouse.KeyDown:Connect(function(k) Remote:FireServer("Event","KeyDown",k) end) Mouse.KeyUp:Connect(function(k) Remote:FireServer("Event","KeyUp",k) end) Mouse.Button1Down:Connect(function() Remote:FireServer("Event","Button1Down") end) Mouse.Button1Up:Connect(function() Remote:FireServer("Event","Button1Up") end) while true do game:GetService("RunService").Stepped:wait() Remote:FireServer("MouseInfo",{Hit = Mouse.Hit,Target = Mouse.Target}) end ]],script) script.Parent = char --[[Bezier]]-- local function lerp(p0,p1,t) return p0*(1-t) + p1*t end local function quad(p0,p1,p2,t) local l1 = lerp(p0,p1,t) local l2 = lerp(p0,p2,t) local quad = lerp(l1,l2,t) return quad end local force = false local instant = false local nuke = false plr.Chatted:Connect(function(msg) if msg:sub(1,8) == "force/on" then force = true instant = false end if msg:sub(1,9) == "force/off" then force = false end if msg:sub(1,10) == "instant/on" then instant = true force = false end if msg:sub(1,11) == "instant/off" then instant = false end if msg:sub(1,7) == "nuke/on" then nuke = true end if msg:sub(1,8) == "nuke/off" then nuke = false end end) Mouse.Button1Down:Connect(function() if Mouse.Target then if Mouse.Target.Name ~= "Sphereorbdeathegg" then local start = root.Position local finish = Mouse.Hit.Position local middle = (finish - start) + Vector3.new(root.Position.X +math.random(-150,150),120,root.Position.Z) local a = Instance.new("Part",workspace) a.Anchored = true a.Shape = "Ball" a.Material = "Neon" a.CanCollide = false a.Position = root.Position a.Name = "Sphereorbdeathegg" local b = Instance.new("Highlight",a) b.FillTransparency = 0 b.FillColor = Color3.new(0,0,0) local max = (root.Position - Mouse.Hit.Position).Magnitude if force == false and instant == false then if max < 50 then max = 50 end for i = 1,max do local t = i/max local update = quad(start,middle,finish,t) a.Position = update task.wait() end end if force == true then local max = 50 for i = 1,max do local t = i/max local update = quad(start,middle,finish,t) a.Position = update task.wait() end end local ae = Instance.new("Explosion",a) if instant == false then ae.Position = a.Position elseif instant == true then ae.Position = Mouse.Hit.Position end if nuke == false then ae.BlastRadius = 10 elseif nuke == true then ae.BlastRadius = 100 end spawn(function() if nuke == true then local initpos = Mouse.Hit.Position for i = 1,100 do task.wait() local eg = Instance.new("Explosion",a) eg.BlastRadius = 100 if instant == false then eg.Position = a.Position + Vector3.new(math.random(-50,50),0,math.random(-50,50)) elseif instant == true then eg.Position = initpos + Vector3.new(math.random(-50,50),0,math.random(-50,50)) end eg.BlastPressure = 500000 * 6 eg.Hit:Connect(function(hit) if hit then wait() if hit.Anchored == true then hit.Anchored = false wait(4) hit:Destroy() end hit:BreakJoints() if nuke == true then hit.Material = Enum.Material.CorrodedMetal end end end) end a:Destroy() end end) if nuke == false then ae.BlastPressure = ae.BlastPressure/2 elseif nuke == true then ae.BlastPressure = 500000 * 6 end a.Transparency = 1 ae.Hit:Connect(function(hit) if hit then if hit.Anchored == true then hit.Anchored = false wait(4) hit:Destroy() end hit:BreakJoints() if nuke == true then hit.Material = Enum.Material.CorrodedMetal end end end) wait(.5) a:Destroy() end end end)